package mutation;

import util.GAOperationsConfig;
import util.Randomness;
public class MutationFactory {
	public static Mutation getMutationOperator(){
		int ran = Randomness.random.nextInt(90);
		if (ran <= 29) 
			return GAOperationsConfig.getMutationChangeValueStrategy();
		if (ran <= 59) 
			return GAOperationsConfig.getMutationMethodInsertStrategy();
		
		return GAOperationsConfig.getMutationMethodDeleteStrategy();
			
		
	}
}
